package PTA3.ti24;

import java.util.Scanner;

/**
 * @author Lenovo
 */
class product{
    private String id;
    private String name;
    private double price;
    public product(String id,String name,double price){
        this.id=id;
        this.name=name;
        this.price=price;
    }
    public String getId() {
        return id;
    }
    public String getName() {
        return name;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public String setId(){
        return id;
    }
    public String toString() {
        return id+" "+name+" "+price;
    }

}
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String id = scanner.next();
        String name = scanner.next();
        double price = scanner.nextDouble();
        product p = new product(id, name, price);
        System.out.println(p);

    }
}
